package cn.itcast.naitang.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class CaoqiuOrder implements Serializable {
    @JsonProperty("code")
    private Integer code;
    @JsonProperty("msg")
    private String msg;
    @JsonProperty("data")
    private CaoqiuOrderDetail data;
    @Data
    public class CaoqiuOrderDetail  implements Serializable {
        @JsonProperty("order_id")
        private String  orderId;
        @JsonProperty("order_sn")
        private String  orderSn;
    }
}
